Skip to content
This repository has been archived by the owner on Mar 25, 2021. It is now read-only.

[bugfix][enhancement][rule-change] Get rid of check-type option in whitespace rule #4110

Closed

Conversation

arhontmw
Copy link

PR checklist

  • Addresses an existing issue: #0000
  • New feature, bugfix, or enhancement
    • Includes tests
  • Documentation update

Overview of change:

Get rid of check-type option of whitespace rule because of its inconsistency: basing on code, rule's walker determines whether a previous token is a colon and then checks a need for whitespace. The problem is that the colon is used not only for type definition, but also, for example, for conditional operator.

I propose to use separate typedef-whitespace rule instead.

@johnwiseheart
Copy link
Contributor

As I mentioned in #4109, if theres not an issue for this it would be great if you could make one so we can discuss all these whitespace changes together.

@adidahiya
Copy link
Contributor

Closing for housekeeping, see #4109 (comment)

@adidahiya adidahiya closed this Jun 21, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants